//
//  Person.h
//  05-HomeWork
//
//  Created by dllo on 16/7/9.
//  Copyright © 2016年 dllo. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface Person : NSObject
@property (nonatomic, retain) NSString *name;
@property (nonatomic, assign) NSInteger age;
@property (nonatomic, retain) NSString *sex;
- (NSComparisonResult) compareAge:(Person *)per;
- (NSComparisonResult) compareName:(Person *)per;
- (NSComparisonResult) compareSex:(Person *)per;
- (NSString *)description;
@end
